package com.groupbuying.storeinternal.controller.forInternal;

import com.groupbuying.storeinternal.service.StoreInternalAccountService;
import com.groupbuying.storeinternal.utils.apiresult.ApiResult;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@Api("服务商用户中心")
@RequestMapping("/storeAccount")
@RestController
public class StoreInternalAccountController {

    @Autowired
    StoreInternalAccountService storeInternalAccountService;

    @PostMapping("/getFlowStore")
    public ApiResult getFlowStore(@RequestParam Map<String,String> map){
        return  storeInternalAccountService.getFlowStore(map);
    }
}
